Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync_diff_inspector: fix a misleading regex example in config.toml #141

Merged
merged 1 commit into from
Dec 13, 2018

Conversation

kennytm
Copy link
Contributor

@kennytm kennytm commented Dec 12, 2018

What problem does this PR solve?

In [[check-tables]] tables, the example mentions ~test* will check tables with prefix 'test'. However, as a regular expression this will actually check tables containing tes, test, testt, testttttt...

What is changed and how it works?

Changed to a proper regex ~^test.*.

Check List

Tests

  • No code

Code changes

Side effects

Related changes

  • Need to update the documentation

@kennytm
Copy link
Contributor Author

kennytm commented Dec 12, 2018

PTAL @csuzhangxc @WangXiangUSTC

@csuzhangxc
Copy link
Member

LGTM

@WangXiangUSTC
Copy link
Contributor

LGTM

@kennytm kennytm merged commit b533735 into master Dec 13, 2018
@kennytm kennytm deleted the kennytm/fix-diff-regex-typo branch December 13, 2018 02:51
WangXiangUSTC pushed a commit to WangXiangUSTC/tidb-tools that referenced this pull request Feb 11, 2019
WangXiangUSTC added a commit that referenced this pull request Feb 13, 2019
* sync_diff_inspector: fix a misleading regex example in config.toml (#141)

* update pkg about database (#142)

* diff: add database name and table name router (#172)

* simplify the if/else logic (#179)

refactor to simplify the if/else logic

* diff: can use multiple columns to split chunks (#130)

* simplify the if/else logic (#191)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants